<!DOCTYPE html>
<#import "/common/common.html" as common>
<html>
<head>
	<@common.head title="基础权限框架-异常页面" keywords="" description=""/>
</head>
<body class="gray-bg">
    <div class="middle-box text-center animated fadeInDown">
        <h1><a class="fa fa-times-circle warning"></a></h1>
        <h3 class="font-bold">${msg!''}</h3>

        <div class="error-desc">
            <a href="javascript:void(0)" class="btn btn-primary m-t">返回</a>
        </div>
    </div>
    
    <script type="text/javascript">
    	$(function(){
    		// 刷新当前选择tab
    		$(".error-desc a").on("click", function(){
    			var id = $(".J_menuTabs .active[data-id]:first", window.parent.document).data("id");
    			var target = $('iframe[data-id="' + id + '"]', window.parent.document);
    			var url = target.attr("src");
    			var loading = layer.load();
    	        target.attr('src', url).load(function () {
    	            // 关闭loading提示
    	            layer.close(loading);
    	        });
            });
    	})
    
    </script>
</body>
</html>